import request from '@/utils/request'

export function getClinets(params) {
  return request({
    url: '/clients',
    method: 'get',
    params
  })
}

export function addClient(params) {
  return request({
    url: '/client',
    method: 'post',
    params
  })
}

export function delClient(params) {
  return request({
    url: '/client/'+params,
    method: 'delete',
      })
}

export function changeService(params) {
  return request({
    url: '/service',
    method: 'post',
    params
      })
}